import Reflux from "reflux"
import BaseAction, {addDefaultListerns} from "@/base/BaseAction";

const prefix ="/balance/shopBalanceDetail/";
const api = {
    search: prefix+"search",
    detail:  prefix+"detail"
};

const createAction = () => {
    const Action = Reflux.createActions({
        ...BaseAction,

    });

    addDefaultListerns(Action, api);

    return Action;
};

export {api, createAction}